package com.onlinevideo.service;

import com.onlinevideo.entity.Authority;

import java.util.List;

public interface AuthorityService {
    int insert(Authority authority);

    int delete(Long id);

    int update(Authority authority);

    Authority queryById(Long id);

    List<Authority> queryAll();

     List<Authority> queryByRoleId(Long roleId) ;
}
